<%-- 
    Document   : LUbigeo
    Created on : 24-oct-2013, 10:41:31
    Author     : WALDIR
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="com.ptr.ptrsystem.bean.*" %>
<%@page import="com.ptr.ptrsystem.dao.Lista" %>
<%@page import="java.util.LinkedList" %>
<%@page language="java" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Lista Ubigeo</title>
    </head>
    <body>
        <table style="border:1px #dbdbdb solid">
            <tr>
                <td colspan="8" >
            <CENTER>
                <!--<button type="button" name="btn1" value="btnsalir" class="button" onclick="location.href='/sisagua/jsp/reportesjsp/prediosporbarrioreporte.jsp'">Cerrar</button>!-->
                <div style="font-size: 1.0em; color: #ffffff; font-weight: bold;background: #cfdbe0 ;
                     border-top-left-radius: 5px;width: 400px;
                     height: 30px;border-top-left-radius: 5px;border-top-right-radius: 5px;
                     border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;">
                    <center>LISTA UBIGEO</center>
                </div></center>
        </td>
    </tr>
    <tr>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">ID DEP</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">ID PROV</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">ID DIST</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">ID OTRO</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">NOMBRE DEP</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">NOMBRE PROV</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">NOMBRE DIST</label></td>
        <td Style="font: Arial; color: #a3bfed; font-size: 0.7em;
            border:1px #dbdbdb solid; text-align: center; font: bold">
            <label class="letra">NOMBRE OTRO</label></td>
    </tr>
    <% LinkedList<Ubigeo> lUbig = Lista.getListaUbigeo();
        for (int lu = 0; lu < lUbig.size(); lu++) {%>
    <tr style="border:0.1px; background-color: #f9f6ed;border-color: #bbc6db">
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getIDUBIGEODEP()%></td>
        <td align="center"  style="font-size: 0.8em"><%=lUbig.get(lu).getIDUBIGEOPROV()%></td>
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getIDUBIGEODIST()%></td>
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getIDUBIGEOOTRO()%></td>
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getNOMUBIGEODEP()%></td>
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getNOMUBIGEOPROV()%></td>
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getNOMUBIGEOSDIST()%></td>
        <td align="center" style="font-size: 0.8em"><%=lUbig.get(lu).getNOMUBIGEOOTRO()%></td>
    </tr>
    <%}%>
    <tr>
        <td colspan="4" align="center" >
            <button type="button" name="btn1" value="btnsalir" class="boton" onclick="window.close();">Cerrar</button>
        </td>
    </tr>
</table>

</body>
</html>
